package com.pan.admin.quartz.task;

import com.pan.admin.module.loanProduct.service.LoanProductApplyFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 流程日志任务调度
 */
@Component("loanProductApplyFlowTask")
public class LoanProductApplyFlowTask {

    @Autowired
    private LoanProductApplyFlowService loanProductApplyFlowService;

    /**
     * 清理流程日志表
     */
    public void cleanLoanProductApplyFlowTask() {
        this.loanProductApplyFlowService.clean();
    }
}
